Had some files that needed unpacking and was reaching for dtrx, but wasn't installed and also not in the Ubuntu repos. Found unp
which seems to do more or less the same thing. Haven't tried it on zip files to unzip, tarballs, 7zip or other stuff yet though. Just .xz
.
https://unix.stackexchange.com/questions/436984/decompressing-archive-to-a-single-folder